package coml.jiyun.hp.day02.fragment;

import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import coml.jiyun.hp.day02.R;
import coml.jiyun.hp.day02.util.LogUtil;

/**
 * A simple {@link Fragment} subclass.
 */
public class MeFragment extends BaseLazyLoadFragment {

    public static MeFragment getInstance(){
        MeFragment meFragment = new MeFragment();
        return meFragment;
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        return inflater.inflate(R.layout.fragment_me, container, false);
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void initView(View mInflate) {

    }

    @Override
    protected Object initPresenter() {
        return null;
    }

    @Override
    protected int getLayout() {
        return R.layout.fragment_me;
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
        LogUtil.logd("destroy:me");
    }
}
